home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / a_utils / perl / prlbkxmp.lha / ch5 / tabulate < prev    next >
Text File  |  1991-01-08  |  112b  |  7 lines

  1. for (_@_D_A_T_A) {
  2.     $count{$_}++;
  3. }
  4. for (sort keys %count) {
  5.     printf "%_Ns %d\n", $_, $count{$_};
  6. }
  7.